Skip to content

[docs] Redirects#3976

Merged
m-bert merged 6 commits intomainfrom
@mbert/docs-redirects
Feb 19, 2026
Merged

[docs] Redirects#3976
m-bert merged 6 commits intomainfrom
@mbert/docs-redirects

Conversation

@m-bert
Copy link
Copy Markdown
Collaborator

@m-bert m-bert commented Feb 13, 2026

Description

This PR adds redirects for our docs so that old gesture links will point to new version.

Test plan

Read docs 🤓

Copilot AI review requested due to automatic review settings February 13, 2026 13:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds client-side redirects to the Gesture Handler documentation to ensure old gesture documentation links continue to work after the naming convention change from version 2.x to 3.x (where gesture pages were renamed from {gesture}-gesture to use-{gesture}-gesture).

Changes:

  • Added @docusaurus/plugin-client-redirects dependency (version 3.7.0)
  • Created redirects.json with 11 redirect mappings for renamed gesture pages and relocated documentation
  • Configured the redirect plugin in docusaurus.config.js and corrected the plugin name from "reanimated" to "gesture-handler"

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/docs-gesture-handler/yarn.lock Lockfile update for the new @docusaurus/plugin-client-redirects@3.7.0 dependency
packages/docs-gesture-handler/redirects.json New file defining 11 redirect mappings from old gesture paths to new paths
packages/docs-gesture-handler/package.json Added @docusaurus/plugin-client-redirects version 3.7.0 as a dependency
packages/docs-gesture-handler/docusaurus.config.js Configured redirect plugin, imported redirects data, and fixed plugin name from "reanimated" to "gesture-handler" (also contains unused import on line 11)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/docs-gesture-handler/docusaurus.config.js Outdated
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you prefer other form, let me know.

@m-bert m-bert marked this pull request as ready for review February 16, 2026 08:29
@m-bert m-bert added the Documentation Documentation change/enhancement label Feb 16, 2026
Comment thread packages/docs-gesture-handler/redirects.json Outdated
@m-bert m-bert requested a review from j-piasecki February 17, 2026 11:47
@m-bert m-bert merged commit 0cdf520 into main Feb 19, 2026
3 checks passed
@m-bert m-bert deleted the @mbert/docs-redirects branch February 19, 2026 12:28
github-merge-queue Bot pushed a commit to software-mansion/react-native-reanimated that referenced this pull request Apr 15, 2026
## Summary

After releasing beta version of Gesture Handler 3, some of the links in
documentation have changed and referencing old ones results in 404. This
has been partially solved on our side with [redirects and legacy
section](software-mansion/react-native-gesture-handler#3976).
However, we still need to update some links in Reanimated.

## Test plan

Check links in docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation change/enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants